<?php /* Smarty version 2.6.26, created on 2013-08-22 10:58:46
         compiled from video_detail.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'l', 'video_detail.tpl', 9, false),array('modifier', 'thumb', 'video_detail.tpl', 9, false),array('modifier', 'check_perm', 'video_detail.tpl', 17, false),)), $this); ?>
<div class="video-page clearfix">
	<div class="eight column pull-left left-column video-player">
		<iframe width="600" height="360" src="//www.youtube.com/embed/<?php echo $this->_tpl_vars['video']['video_youtube_id']; ?>
?autoplay=1" frameborder="0" allowfullscreen></iframe>
	</div>
	
	<aside id="sidebar" class="four column pull-right masonry">
		<?php $_from = $this->_tpl_vars['aVideo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
		<div class="video-item clearfix">
			<a href="<?php echo ((is_array($_tmp='video/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['v']['video_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['v']['video_id'])); ?>
" class="video-thumb fl"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['v']['video_thumb'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 'crop150x80') : smarty_modifier_thumb($_tmp, 'crop150x80')); ?>
" /></a>
			<h3 class="title"><a href="<?php echo ((is_array($_tmp='video/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['v']['video_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['v']['video_id'])); ?>
"><?php echo $this->_tpl_vars['v']['video_title']; ?>
</a></h2>
		</div>
		<?php endforeach; endif; unset($_from); ?>
	</aside>
</div>

<div class="content-toolbar">
	<?php if (((is_array($_tmp='admin video edit')) ? $this->_run_mod_handler('check_perm', true, $_tmp) : smarty_modifier_check_perm($_tmp))): ?><a href="<?php echo ((is_array($_tmp='video/edit/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['video']['video_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['video']['video_id'])); ?>
" class="button">Sửa nội dung Video</a><?php endif; ?>
</div>